#include<iostream>
#include <algorithm>
using namespace std;
int x, y, z;
bool a()
{
    if (x + y>z && x + z>y && y + z > x)
        return true;
    cout << "Not triangle" << endl;
    return false;
}

void b()
{
    if (x * x + y * y == z * z)
        cout << "Right triangle" << endl;
    else if (x * x + y * y > z * z)
        cout << "Acute triangle" << endl;
    else cout << "Obtuse triangle" << endl;
}

void c()
{
    if (x == y || x == z || z == y)
        cout << "Isosceles triangle" << endl;
    if (x == y && y == z)
        cout << "Equilateral triangle" << endl;
}

int main()
{
    int n[5];
    scanf("%d%d%d", &n[0], &n[1], &n[2]);
    sort(n, n + 3);
    x = n[0], y = n[1], z = n[2];
    if (!a()) return 0;
    b();
    c();
    return 0;
}